<%--
  Created by IntelliJ IDEA.
  User: my
  Date: 2017/10/31
  Time: 8:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <base href="<%=request.getContextPath()%>/"/>
</head>
<body>
<div class="pageContent">
    <form method="post" onsubmit="return iframeCallback(this, navTabAjaxDone);" action="five/manager/updateCompany"  enctype="multipart/form-data" >
        <div class="pageFormContent" layoutH="56">
            <div class="unit">
                <label>上传头像文件：</label>
                <div class="upload-wrap">
                    <div class="thumbnail"></div>
                    <img src="files/show?name=${fiveCompany.companyLogo}">
                    <input type="file" name="photo" accept="image/*">
                </div>
            </div>
            <input type="hidden" name="companyId" value="${fiveCompany.companyId}">
            <p>
                <label>公司名称：</label>
                <input name="companyName"  type="text" size="30" value="${fiveCompany.companyName}" />
            </p>
            <p>
                <label>公司城市：</label>
                    <select  name="companyCity">
                        <option value="${fiveCompany.companyCity}" selected>${fiveCompany.companyCity}</option>
                        <option value="北京">北京</option>
                        <option value="武汉">武汉</option>
                        <option value="广州">广州</option>
                        <option value="深圳">重庆</option>
                        <option value="成都">成都</option>
                    </select>
                </select><br/>
            </p>
            <p>
                <label>服务区域：</label>
                <input type="text"  value="${fiveCompany.companyArea}" name="companyArea" >
            </p>
            <p>
                <label>公司风格：</label>
                <input name="companyStyle"  type="text" size="30" value="${fiveCompany.companyStyle}"/>
            </p>
            <p>
                <label>公司奖项：</label>
                <input type="text" name="companyAward" size="30" value="${fiveCompany.companyAward}"/>
            </p>
            <p>
                <label>公司类型：</label>
                <input type="text" name="companyType" size="30" value="${fiveCompany.companyType}"/>
            </p>
            <p>
                <label>公司简介：</label>
                <textarea  name="companyFile"  value="${fiveCompany.companyFile}"></textarea>
            </p>
            <p>
                <label>公司座右铭：</label>
                <input type="text" name="companyMotto" size="30" value="${fiveCompany.companyMotto}"/>
            </p>
            <div class="unit">
                <label>上传项目文件：</label>
                <div class="upload-wrap">
                    <div class="thumbnail"></div>
                    <img src="files/show?name=${fiveCompany.companyImg}">
                    <input type="file" name="photo2" accept="image/*">
                </div>
            </div>
        </div>
        <div class="formBar">
            <ul>
                <!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
                <li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
                <li>
                    <div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
                </li>
            </ul>
        </div>
    </form>
</div>
</body>
</html>
